MoveTo Method (Folder Object) 

The MoveTo method relocates this Folder object to another folder hierarchy location.

Syntax

Set objMovedFolder = objFolder.MoveTo(folderID [, storeID ] )

Parameters

objMovedFolder

On successful return, contains the moved Folder object.

objFolder

Required. This Folder object.

folderID

Required. String. The unique identifier of the new parent Folder object, that is, the Folder object under which this folder is to appear as a subfolder.

storeID

Optional. String. The unique identifier of the InfoStore14IU0EN object in which this folder is to appear, if different from its current InfoStore.

 

Remarks

All subfolders of this folder, together with all MessageC062VO objects contained within this folder and its subfolders, are moved along with the folder itself.

The move operation takes effect immediately. This Folder object is no longer accessible at its former location once the MoveTo method returns.